package com.smyh.UIM;

import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

/**
 * Created by 姜龙 on 2016/7/6.
 */
public class UserFragment extends Fragment {
    //SQLiteDatabase对象
    SQLiteDatabase db;
    //数据库名
    public String db_name = "gallery.sqlite";
    //表名
    public String table_name = "pic";

    View view;

    //辅助类名

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
         view = inflater.inflate(R.layout.activity_user, container, false);
        //UI组件
       return view;
    }
}
